package com.treetao.union.db.model.base;

import java.io.Serializable;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

public abstract class TTBaseVO<T extends TTBaseVO<?>> extends Model<T> {
	private static final long serialVersionUID = 1L;

	public Long id;
	
	@TableField(value="del_flag")
	protected Boolean delFlag = false;
	
	
	@TableField(exist = false)
	protected Map<String, Object> exts = null;
	
	
	public Map<String, Object> getExts() {
		return exts;
	}

	public void setExts(Map<String, Object> exts) {
		this.exts = exts;
	}

	public TTBaseVO() {

    } 

    public TTBaseVO(Long id) {
        this();
        this.id = id;
    }

	@Override
	public Serializable pkVal() {
		return id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Boolean getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	
}
